package com.flyco.modules.sms.service;

import com.flyco.modules.sms.entity.SmsDiscount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flyco.modules.sms.model.SmsDiscountModel;

/**
 * @Description: 满减满折
 * @Author: flyco
 * @Date:   2020-05-06
 * @Version: V1.0
 */
public interface ISmsDiscountService extends IService<SmsDiscount> {
    String checkDiscountModel(SmsDiscountModel smsDiscountModel);
    void formatDiscountModel(SmsDiscountModel smsDiscountModel);

    void addRelation(SmsDiscountModel smsDiscountModel);
    void editRelation(SmsDiscountModel smsDiscountModel);

    void addDetail(SmsDiscountModel smsDiscountModel);
    void editDetail(SmsDiscountModel smsDiscountModel);
}
